package com.jikedaquan.game.jwt.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.jikedaquan.game.jwt.entity.Message;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 消息记录 Mapper 接口
 * </p>
 *
 * @author jiake
 * @since 2019-10-31
 */
public interface MessageMapper extends BaseMapper<Message> {

    List<Message> selectMessageAndUser(int pageIndex, int pageSize, QueryWrapper<Message> queryWrapper);
}
